<template>
  <div class="station-top">
    <el-button link @click="toFront">访问前台</el-button>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

const toFront = () => {
  setTimeout(() => {
    router.push({ path: '/exam/user/home' })
  }, 100)
}
</script>

<style scoped lang="scss">
.station-top {
  margin-right: 20px;
}
</style>